var o, e = require, t = module, n = exports, i = this && this.__extends || (o = function(t, e) {
    return (o = Object.setPrototypeOf || {
        __proto__: []
    } instanceof Array && function(t, e) {
        t.__proto__ = e;
    } || function(t, e) {
        for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]);
    })(t, e);
}, function(t, e) {
    function r() {
        this.constructor = t;
    }
    o(t, e), t.prototype = null === e ? Object.create(e) : (r.prototype = e.prototype, 
    new r());
}), a = this && this.__decorate || function(t, e, r, o) {
    var n, c = arguments.length, i = c < 3 ? e : null === o ? o = Object.getOwnPropertyDescriptor(e, r) : o;
    if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(t, e, r, o); else for (var a = t.length - 1; 0 <= a; a--) (n = t[a]) && (i = (c < 3 ? n(i) : 3 < c ? n(e, r, i) : n(e, r)) || i);
    return 3 < c && i && Object.defineProperty(e, r, i), i;
};

Object.defineProperty(n, "__esModule", {
    value: !0
});

var r = e("LoadManager"), s = cc._decorator, c = s.ccclass, l = s.property, d = function(e) {
    function t() {
        var t = null !== e && e.apply(this, arguments) || this;
        return t.rareSprite = null, t;
    }
    return i(t, e), t.prototype.start = function() {}, t.prototype.init = function(t) {
        r.default.getInstance().loadSpriteFrame({
            url: "texture/rare/sign/" + t.data.rare,
            sprite: this.rareSprite
        });
    }, a([ l(cc.Sprite) ], t.prototype, "rareSprite", void 0), a([ c ], t);
}(cc.Component);

n.default = d;